
#ifndef CHATPROJECT_REGISTERPAGE_H
#define CHATPROJECT_REGISTERPAGE_H

#include <QWidget>
class RegisterPagePrivate;
/**
 * @brief   注册界面
 * @author  turbo
 */
class RegisterPage : public QWidget
{
    Q_OBJECT
    Q_DECLARE_PRIVATE(RegisterPage)
public:
    explicit RegisterPage(QWidget *parent = nullptr);
    ~RegisterPage() override;

signals:
    void sig_login();

protected:
    void btnCodeClicked();
    void postBack(QString url, QString postMD5, QByteArray data);

private:
    RegisterPagePrivate*   d_ptr;  ///< 注册界面私有对象，负责界面对象的构造和样式
};


#endif //CHATPROJECT_REGISTERPAGE_H
